#app .robot-window {
  position: fixed;
  z-index: 10000;
  right: 5px;
  bottom: 5px;
  cursor: auto;
  width: 832px;
  height: 612px;
  background: #fff;
  box-shadow: 0 0 10px #5d5d5d;
}
#app .robot-window .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 15px 11px 62px;
  color: #fff;
  background: #ef5757 url("../images/right-fiexd/credit.png") no-repeat 15px 12px;
}
#app .robot-window .top-bar .title h2 {
  color: #fff;
  font-size: 16px;
  padding: 2px 0;
}
#app .robot-window .top-bar .title p {
  font-size: 12px;
  color: #ffb1b1;
  line-height: 20px;
}
#app .robot-window .top-bar .close span {
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
#app .robot-window .top-bar .close .el-icon-minus {
  font-size: 20px;
}
#app .robot-window .top-bar .close .el-icon-close {
  font-size: 24px;
}
#app .robot-window .content {
  height: 550px;
}
#app .robot-window .content .left {
  width: 583px;
  height: 550px;
}
#app .robot-window .content .left .message-box {
  height: 390px;
  box-sizing: border-box;
  padding: 20px;
  overflow-y: auto;
  background: #fffefa;
}
#app .robot-window .content .left .message-box .item {
  margin-bottom: 20px;
  text-align: right;
}
#app .robot-window .content .left .message-box .item .avatar {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding-top: 6px;
}
#app .robot-window .content .left .message-box .item .inner {
  display: inline-block;
  vertical-align: top;
  max-width: 350px;
  padding: 0 10px;
}
#app .robot-window .content .left .message-box .item .inner .timer {
  padding-top: 5px;
  font-size: 12px;
  color: #aaa;
}
#app .robot-window .content .left .message-box .item .inner .value {
  margin-top: 8px;
  position: relative;
  padding: 15px;
  border-radius: 4px;
  background-color: #ef5757;
  line-height: 1.4;
  color: #fff;
  white-space: normal;
  word-break: break-all;
  text-align: left;
}
#app .robot-window .content .left .message-box .item .inner .value::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 0;
  margin-right: -12px;
  border-width: 6px;
  border-style: dashed solid dashed dashed;
  border-color: transparent transparent transparent #ef5757;
}
#app .robot-window .content .left .message-box .item.robot {
  text-align: left;
}
#app .robot-window .content .left .message-box .item.robot .inner .value {
  background-color: #f9f8f4;
  color: #666;
}
#app .robot-window .content .left .message-box .item.robot .inner .value::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: unset;
  margin-left: -12px;
  border-width: 6px;
  border-style: dashed solid dashed dashed;
  border-color: transparent #f9f8f4 transparent transparent;
}
#app .robot-window .content .left .message-box .item.robot .inner .html {
  width: 350px;
}
#app .robot-window .content .left .message-box .item.robot .inner .html p {
  line-height: 1.5;
}
#app .robot-window .content .left .message-box .item.robot .inner .html p a {
  color: #00f;
  text-decoration: underline;
}
#app .robot-window .content .left .message-box .item.robot .inner .html p.keys a {
  display: block;
}
#app .robot-window .content .left .message-box .item.robot .inner .html p.more {
  padding: 8px 0;
}
#app .robot-window .content .left .message-box .item.robot .inner .html .tip .news-title {
  position: relative;
  line-height: 1.5;
  padding: 8px 0 8px 10px;
  font-size: 15px;
}
#app .robot-window .content .left .message-box .item.robot .inner .html .tip .news-title:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 20px;
  background-color: #d93533;
}
#app .robot-window .content .left .message-box .item.robot .inner .html .tip .news a {
  display: inline-block;
  width: 100%;
  font-size: 14px;
  line-height: 28px;
  color: #666;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
#app .robot-window .content .left .message-box .item.robot .inner .html .tip .news a > b {
  color: #f00;
}
#app .robot-window .content .left .input-box {
  position: relative;
  height: 160px;
  border-top: 1px solid #eee;
  box-sizing: border-box;
}
#app .robot-window .content .left .input-box textarea {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  height: 140px;
  border: none;
  outline: none;
  padding: 20px;
  resize: none;
}
#app .robot-window .content .left .input-box .send {
  position: absolute;
  right: 20px;
  bottom: 10px;
  background-color: #ef5757;
  border-radius: 5px;
  padding: 6px 15px;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
}
#app .robot-window .content .right {
  box-sizing: border-box;
  width: 249px;
  height: 550px;
  background-color: #fff;
  border-left: 1px solid #eee;
  padding: 18px 22px;
}
#app .robot-window .content .right .tip {
  margin-bottom: 15px;
}
#app .robot-window .content .right .tip .news-title {
  position: relative;
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 15px;
}
#app .robot-window .content .right .tip .news-title img,
#app .robot-window .content .right .tip .news-title span {
  display: inline-block;
  vertical-align: middle;
}
#app .robot-window .content .right .tip .news-title span {
  margin: 0 10px;
}
#app .robot-window .content .right .tip .news a {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  font-size: 12px;
  line-height: 26px;
  padding-left: 10px;
  color: #999;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
#app .robot-window .content .right .tip .news a:before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 4px;
  height: 4px;
  background-color: #ccc;
}
